<?php
class Column extends Zend_Db_Table {
	protected $_name = "cc_column";
	private $db;
	
	/**
	 * 
	 * @access public
	 * @return 
	 */
	public function __construct(){
		$this->db = Zend_Db_Table::getDefaultAdapter();
		parent::_setup();
	}
	
	/**
	 * 取所有分类名
	 * @access public
	 * @return array
	 */
	public function getColumn(){
		$res = $this->fetchAll();
		$column = $res->toArray();
		return $column;
	}
}
